package com.loser.excel.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.util.Date;

/**
 * 模板导出实体
 * 注意：旧的视图层可以使用就使用旧的视图层，减少class数量
 *
 * @author alan
 */
@Data
public class DemoExportBean {

    @Excel(name = "id", width = 30)
    private String id;

    @Excel(name = "学生姓名", width = 30)
    private String name;

    @Excel(name = "学生生日", width = 70, format = "yyyy-MM-dd HH:mm:ss")
    private Date date;

}
